package com.example.librarymanagement.service;

import com.example.librarymanagement.model.BorrowRecord;


import java.util.List;

public interface BorrowRecordService {
    BorrowRecord createBorrowRecord(Integer bookId, Integer userId);

    void returnBook(Integer recordId, Integer userId);
    List<BorrowRecord> listAllBorrowRecords();
    List<BorrowRecord> listBorrowRecordsByUser(Integer userId);

}